package uri.model;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

public class MessageVO {
	private String no;
	private String content;
	private String date;
	private String sender;
	private String receiver;
	private List<MultipartFile> file;
	private List<HashMap<String,String>> fileList;
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	public String getReceiver() {
		return receiver;
	}
	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}
	public List<MultipartFile> getFile() {
		return file;
	}
	public void setFile(List<MultipartFile> file) {
		this.file = file;
	}
	public List<HashMap<String, String>> getFileList() {
		return fileList;
	}
	public void setFileList(List<HashMap<String, String>> fileList) {
		this.fileList = fileList;
	}
	@Override
	public String toString() {
		return "MessageVO [no=" + no + ", content=" + content + ", date="
				+ date + ", sender=" + sender + ", receiver=" + receiver
				+ ", file=" + file + ", fileList=" + fileList + "]";
	}
	
}
